package cn.ulc.store.dao;
import cn.ulc.store.entity.*;

import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;

/*
* PubData
* gen by Jin mapper 2019-05-29
*/
@SqlResource("pubData")
public interface PubDataDao extends BaseDao<PubData> {

  PubData findByTypeAndName(Integer type, String name);

  String findCodeByTypeAndName(Integer type, String name);

  String findNameByTypeAndCode(Integer type, String code);

  List<PubData> findListByType(Integer type);

  String findMaxCode(Integer type);
}
